﻿<html>
    <head>
        <title>Kho | Sách</title>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url("web/css/qlnhap.css");?>"/>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url("web/css/sach.css");?>"/>
        <script language="javascript" src="<?php echo base_url("web/js/jquery.js");?>"></script>
    </head>
    <body>
        <div id="header">
            <h1 align="center">DEV - VITBAY.VN</h1>
        </div>
        <div id="menu">
            <a href="<?php echo site_url("home");?>">Home</a>|
            <a href="<?php echo site_url("home/ql_nhap");?>">Kho</a>|
            <a href="">Thêm mới sản phẩm</a>|
            <a href="">Danh sách nhà cung cấp</a>|
            <a href="baocao.php">Báo cáo <img src='<?php echo base_url("img/new.gif");?>' height='15px' width='40px'/></a>
        </div>
        <div class="viewinfo">
            <!-- images -->
            <div class="image">
                <img src="<?php echo base_url("web/photos/".$picture);?>" width="250px" height="400px"/>
            </div>
            <div class="viewcontent">
                <div id="infosach">
                    <b style="font-size: 25px;"><?php echo $ten;?></b>
                    <form name="form" action="<?php echo site_url("home/confirm_info/".$id);?>" method="POST">
                        <p>ID: <input type="hidden" name="id" value="<?php echo $id; ?>"/><?php echo $id; ?></p>
                        <p>Tên sách: <input type="text" name="tensach" value="<?php echo  $ten;?>"/></p>
                        <p>Số lượng: <input type="text" name="soluong" value="<?php echo  $soluong; ?>"/></p>
                        <p class="gia">Giá bìa: <input type="text" name="gia" value="<?php echo  $gia; ?>"/>đồng</p>
			<p class="gia">Giá bán: <input type="text" name="giaban" value="<?php echo  $giaban; ?>"/>đồng</p>
                        <p>Tác giả: <input type="text" name="tacgia" value="<?php echo  $tacgia; ?>"/></p>
                        <p>Picture: <input type="text" name="picture" value="<?php echo  $picture; ?>"/></p>
                        <p>NXB: <input type="text" name="nxb" value="<?php echo  $nxb;?>"/></p>
                        <p>Năm XB: <input type="text" name="namxb" value="<?php echo  $namxb;?>"/></p>
                        <p>Loại sách: <input type="text" name="loaisach" value="<?php echo  $loaisach;?>"/></p>
                        <p>Dành cho: <input type="text" name="danhcho" value="<?php echo  $danhcho;?>"/></p>
                        <p>Ngày nhập: <input type="text" name="ngaynhap" value="<?php echo  $ngaynhap;?>"/></p>
                        <p>
                            <textarea name="mota" rows="10" cols="50"><?php echo $mota;?></textarea>
                        </p>
                        <p>
                            <input type="submit" name="submit" value="Sửa"/>
                            <input type="submit" name="submit" value="Xóa"/>
                            <input type="button" name="but" value="Back" onclick="window.history.go(-1);"/>
                        </p>
                    </form>
                </div>
            </div>
        </div><!--End #viewinfo-->
        
        <div style="clear: both;">
            Copyright...
        </div>
    </body>
</html>